package service;

import service.RequestBody;
import service.RequestMapping;

public class MyController {

    @RequestMapping(path = "/hello")
    public String sayHello() {
        return "Hello, World!";
    }

    @RequestMapping(path = "/echo", method = "POST")
    public String echo(@RequestBody() String message) {
        return "Echo: " + message;
    }
}
